<template>
    <h1>{{ "child" }}</h1>
    <p>Count: {{ count }}</p>
</template>

<script setup lang="ts">
import { defineProps } from "vue";
// defineProps(["count"]);
defineProps({
    count: {
        type: Number,
        default: () => 0, // 默认值为 0
    },
});
</script>

<style scoped></style>
